let zl = {
  name: 'yzl',
  go: 'alibaba'
}

const dogs = new Map()
dogs.set('Snickers', 3)
dogs.set('Sunny', 2)
dogs.set('Hugo', 10)

dogs.forEach((val, key) => {
  console.log(val, key);
})

console.log(Object.keys(zl));
console.log(Object.values(zl));
console.log(dogs.keys());
console.log(dogs.values());